﻿using System.ComponentModel.DataAnnotations;

namespace Devonline.Core
{
    public enum MessageType
    {
        /// <summary>
        /// 文本
        /// </summary>
        [Display(Name = "文本")]
        Text,
        /// <summary>
        /// 数据
        /// </summary>
        [Display(Name = "数据")]
        Data,
        /// <summary>
        /// 图片
        /// </summary>
        [Display(Name = "图像")]
        Image,
        /// <summary>
        /// 语音
        /// </summary>
        [Display(Name = "音频")]
        Audio,
        /// <summary>
        /// 视频
        /// </summary>
        [Display(Name = "视频")]
        Video,
        /// <summary>
        /// 文件
        /// </summary>
        [Display(Name = "文件")]
        File,
        /// <summary>
        /// 表情
        /// </summary>
        [Display(Name = "表情")]
        Emoji,
        /// <summary>
        /// 位置
        /// </summary>
        [Display(Name = "位置")]
        Location,
        /// <summary>
        /// 通知
        /// </summary>
        [Display(Name = "通知")]
        Notice,
        /// <summary>
        /// 告警
        /// </summary>
        [Display(Name = "告警")]
        Alarm,
        /// <summary>
        /// 回复消息, 代表回复某个历史消息
        /// </summary>
        [Display(Name = "回复")]
        Reply,
        /// <summary>
        /// 回执消息, 自动消息回执, 代表消息已收到
        /// </summary>
        [Display(Name = "回执")]
        Ack,
        /// <summary>
        /// 其他消息类型
        /// </summary>
        [Display(Name = "其他")]
        Other,
    }
}
